Use GDK's current window tracking when synthesizing events in GTK+
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 12 Mar 2014 16:39:03 +0000 (12:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 13 Mar 2014 03:03:53 +0000 (23:03 -0400)
commit40b6d907bf0e22fbb5cbb0ff91cada8f3264fc28
tree929e98b244af1e9267d6c2d4963638235ee6d8e6
parent4ce5fcc5c853bea5acc9ddf61b4426781761fbf5
Use GDK's current window tracking when synthesizing events in GTK+

Add gdk_device_get_last_event_window(), and use to implement the window
tracking we need for synthesizing crossing events for sensitivity changes
and gtk grabs, rather than keeping the information in qdata and updating
it based when GTK+ gets events.

https://bugzilla.gnome.org/show_bug.cgi?id=726187
docs/reference/gdk/gdk3-sections.txt
gdk/gdkdevice.c
gdk/gdkdevice.h
gtk/gtkmain.c
gtk/gtkwidget.c